package com.sens.ipc.mybank;

import android.content.Context;

import com.sens.ipc.mybank.hooker.Callback;

public class IPCHelper {
    /**
     * 获取钩子句柄
     */
    public static com.sens.ipc.mybank.hooker.Handle getHookerHandle(Context context, com.sens.ipc.mybank.application.Callback callback) {
        return new com.sens.ipc.mybank.application.Proxy(context, callback).getHandle();
    }

    /**
     * 获取应用句柄
     */
    public static com.sens.ipc.mybank.application.Handle getApplicationHandle(Context context, Callback callback) {
        return new com.sens.ipc.mybank.hooker.Proxy(context, callback).getHandle();
    }
}